package com.onesports.intelligent.k12.polarlight.domain.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @author :HuangYingzhu
 * @date :2021/12/27
 **/
@Data
@ApiModel("状态修改传送实体")
public class UpdateStatesDTO {

    @ApiModelProperty(value = "id", required = true)
    @NotBlank(message = "id不可为空")
    private String id;

    @ApiModelProperty(value = "是否启用", required = true)
    @NotNull(message = "启用状态不为空")
    private Boolean status;


}
